<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>robotide.writer.serializer</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="robotide-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/robotframework-ride">RIDE</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="robotide-module.html">Package&nbsp;robotide</a> ::
        <a href="robotide.writer-module.html">Package&nbsp;writer</a> ::
        Module&nbsp;serializer
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="robotide.writer.serializer-module.html">Module robotide.writer.serializer</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno">  1</tt>  <tt class="py-line"><tt class="py-comment">#  Copyright 2008-2009 Nokia Siemens Networks Oyj</tt> </tt>
<a name="L2"></a><tt class="py-lineno">  2</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L3"></a><tt class="py-lineno">  3</tt>  <tt class="py-line"><tt class="py-comment">#  Licensed under the Apache License, Version 2.0 (the "License");</tt> </tt>
<a name="L4"></a><tt class="py-lineno">  4</tt>  <tt class="py-line"><tt class="py-comment">#  you may not use this file except in compliance with the License.</tt> </tt>
<a name="L5"></a><tt class="py-lineno">  5</tt>  <tt class="py-line"><tt class="py-comment">#  You may obtain a copy of the License at</tt> </tt>
<a name="L6"></a><tt class="py-lineno">  6</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L7"></a><tt class="py-lineno">  7</tt>  <tt class="py-line"><tt class="py-comment">#      http://www.apache.org/licenses/LICENSE-2.0</tt> </tt>
<a name="L8"></a><tt class="py-lineno">  8</tt>  <tt class="py-line"><tt class="py-comment">#</tt> </tt>
<a name="L9"></a><tt class="py-lineno">  9</tt>  <tt class="py-line"><tt class="py-comment">#  Unless required by applicable law or agreed to in writing, software</tt> </tt>
<a name="L10"></a><tt class="py-lineno"> 10</tt>  <tt class="py-line"><tt class="py-comment">#  distributed under the License is distributed on an "AS IS" BASIS,</tt> </tt>
<a name="L11"></a><tt class="py-lineno"> 11</tt>  <tt class="py-line"><tt class="py-comment">#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</tt> </tt>
<a name="L12"></a><tt class="py-lineno"> 12</tt>  <tt class="py-line"><tt class="py-comment">#  See the License for the specific language governing permissions and</tt> </tt>
<a name="L13"></a><tt class="py-lineno"> 13</tt>  <tt class="py-line"><tt class="py-comment">#  limitations under the License.</tt> </tt>
<a name="L14"></a><tt class="py-lineno"> 14</tt>  <tt class="py-line"> </tt>
<a name="L15"></a><tt class="py-lineno"> 15</tt>  <tt class="py-line"><tt class="py-keyword">import</tt> <tt class="py-name">os</tt> </tt>
<a name="L16"></a><tt class="py-lineno"> 16</tt>  <tt class="py-line"> </tt>
<a name="L17"></a><tt class="py-lineno"> 17</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-0" class="py-name" targets="Module robotide.writer.template=robotide.writer.template-module.html"><a title="robotide.writer.template" class="py-name" href="#" onclick="return doclink('link-0', 'template', 'link-0');">template</a></tt> <tt class="py-keyword">import</tt> <tt id="link-1" class="py-name" targets="Function robotide.writer.template.Template()=robotide.writer.template-module.html#Template"><a title="robotide.writer.template.Template" class="py-name" href="#" onclick="return doclink('link-1', 'Template', 'link-1');">Template</a></tt> </tt>
<a name="L18"></a><tt class="py-lineno"> 18</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-2" class="py-name" targets="Package robotide.writer=robotide.writer-module.html,Module robotide.writer.writer=robotide.writer.writer-module.html"><a title="robotide.writer
robotide.writer.writer" class="py-name" href="#" onclick="return doclink('link-2', 'writer', 'link-2');">writer</a></tt> <tt class="py-keyword">import</tt> <tt id="link-3" class="py-name" targets="Function robotide.writer.writer.FileWriter()=robotide.writer.writer-module.html#FileWriter"><a title="robotide.writer.writer.FileWriter" class="py-name" href="#" onclick="return doclink('link-3', 'FileWriter', 'link-3');">FileWriter</a></tt> </tt>
<a name="L19"></a><tt class="py-lineno"> 19</tt>  <tt class="py-line"><tt class="py-keyword">from</tt> <tt id="link-4" class="py-name" targets="Package robotide=robotide-module.html"><a title="robotide" class="py-name" href="#" onclick="return doclink('link-4', 'robotide', 'link-4');">robotide</a></tt> <tt class="py-keyword">import</tt> <tt id="link-5" class="py-name" targets="Package robotide.context=robotide.context-module.html"><a title="robotide.context" class="py-name" href="#" onclick="return doclink('link-5', 'context', 'link-5');">context</a></tt> </tt>
<a name="SerializationContext"></a><div id="SerializationContext-def"><a name="L20"></a><tt class="py-lineno"> 20</tt>  <tt class="py-line"> </tt>
<a name="L21"></a><tt class="py-lineno"> 21</tt>  <tt class="py-line"> </tt>
<a name="L22"></a><tt class="py-lineno"> 22</tt> <a class="py-toggle" href="#" id="SerializationContext-toggle" onclick="return toggle('SerializationContext');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="robotide.writer.serializer.SerializationContext-class.html">SerializationContext</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SerializationContext-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="SerializationContext-expanded"><a name="L23"></a><tt class="py-lineno"> 23</tt>  <tt class="py-line"> </tt>
<a name="SerializationContext.__init__"></a><div id="SerializationContext.__init__-def"><a name="L24"></a><tt class="py-lineno"> 24</tt> <a class="py-toggle" href="#" id="SerializationContext.__init__-toggle" onclick="return toggle('SerializationContext.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.writer.serializer.SerializationContext-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">output</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">format</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">pipe_separated</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">,</tt> <tt class="py-param">line_separator</tt><tt class="py-op">=</tt><tt class="py-name">None</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SerializationContext.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SerializationContext.__init__-expanded"><a name="L25"></a><tt class="py-lineno"> 25</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">output</tt> <tt class="py-op">=</tt> <tt class="py-name">output</tt> </tt>
<a name="L26"></a><tt class="py-lineno"> 26</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">format</tt> <tt class="py-op">=</tt> <tt class="py-name">format</tt> </tt>
<a name="L27"></a><tt class="py-lineno"> 27</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_pipe_separated</tt> <tt class="py-op">=</tt> <tt id="link-6" class="py-name" targets="Variable robotide.writer.serializer.SerializationContext.pipe_separated=robotide.writer.serializer.SerializationContext-class.html#pipe_separated"><a title="robotide.writer.serializer.SerializationContext.pipe_separated" class="py-name" href="#" onclick="return doclink('link-6', 'pipe_separated', 'link-6');">pipe_separated</a></tt> </tt>
<a name="L28"></a><tt class="py-lineno"> 28</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_line_separator</tt> <tt class="py-op">=</tt> <tt id="link-7" class="py-name" targets="Variable robotide.writer.serializer.SerializationContext.line_separator=robotide.writer.serializer.SerializationContext-class.html#line_separator"><a title="robotide.writer.serializer.SerializationContext.line_separator" class="py-name" href="#" onclick="return doclink('link-7', 'line_separator', 'link-7');">line_separator</a></tt> </tt>
</div><a name="L29"></a><tt class="py-lineno"> 29</tt>  <tt class="py-line"> </tt>
<a name="L30"></a><tt class="py-lineno"> 30</tt>  <tt class="py-line">    <tt class="py-decorator">@</tt><tt class="py-decorator">property</tt> </tt>
<a name="SerializationContext.pipe_separated"></a><div id="SerializationContext.pipe_separated-def"><a name="L31"></a><tt class="py-lineno"> 31</tt> <a class="py-toggle" href="#" id="SerializationContext.pipe_separated-toggle" onclick="return toggle('SerializationContext.pipe_separated');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.writer.serializer.SerializationContext-class.html#pipe_separated">pipe_separated</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SerializationContext.pipe_separated-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SerializationContext.pipe_separated-expanded"><a name="L32"></a><tt class="py-lineno"> 32</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_pipe_separated</tt> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_pipe_separated</tt> <tt class="py-keyword">is</tt> <tt class="py-keyword">not</tt> <tt class="py-name">None</tt> <tt class="py-keyword">else</tt> \ </tt>
<a name="L33"></a><tt class="py-lineno"> 33</tt>  <tt class="py-line">            <tt id="link-8" class="py-name"><a title="robotide.context" class="py-name" href="#" onclick="return doclink('link-8', 'context', 'link-5');">context</a></tt><tt class="py-op">.</tt><tt id="link-9" class="py-name" targets="Variable robotide.context.SETTINGS=robotide.context-module.html#SETTINGS"><a title="robotide.context.SETTINGS" class="py-name" href="#" onclick="return doclink('link-9', 'SETTINGS', 'link-9');">SETTINGS</a></tt><tt class="py-op">.</tt><tt id="link-10" class="py-name" targets="Method robotide.namespace.cache.ExpiringCache.get()=robotide.namespace.cache.ExpiringCache-class.html#get"><a title="robotide.namespace.cache.ExpiringCache.get" class="py-name" href="#" onclick="return doclink('link-10', 'get', 'link-10');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'txt format separator'</tt><tt class="py-op">,</tt> <tt class="py-string">'space'</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-string">'pipe'</tt> </tt>
</div><a name="L34"></a><tt class="py-lineno"> 34</tt>  <tt class="py-line"> </tt>
<a name="L35"></a><tt class="py-lineno"> 35</tt>  <tt class="py-line">    <tt class="py-decorator">@</tt><tt class="py-decorator">property</tt> </tt>
<a name="SerializationContext.line_separator"></a><div id="SerializationContext.line_separator-def"><a name="L36"></a><tt class="py-lineno"> 36</tt> <a class="py-toggle" href="#" id="SerializationContext.line_separator-toggle" onclick="return toggle('SerializationContext.line_separator');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.writer.serializer.SerializationContext-class.html#line_separator">line_separator</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SerializationContext.line_separator-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SerializationContext.line_separator-expanded"><a name="L37"></a><tt class="py-lineno"> 37</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_line_separator</tt> <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_line_separator</tt> <tt class="py-keyword">else</tt> \ </tt>
<a name="L38"></a><tt class="py-lineno"> 38</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_get_line_separator_setting</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L39"></a><tt class="py-lineno"> 39</tt>  <tt class="py-line">             </tt>
<a name="SerializationContext._get_line_separator_setting"></a><div id="SerializationContext._get_line_separator_setting-def"><a name="L40"></a><tt class="py-lineno"> 40</tt> <a class="py-toggle" href="#" id="SerializationContext._get_line_separator_setting-toggle" onclick="return toggle('SerializationContext._get_line_separator_setting');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.writer.serializer.SerializationContext-class.html#_get_line_separator_setting">_get_line_separator_setting</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="SerializationContext._get_line_separator_setting-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="SerializationContext._get_line_separator_setting-expanded"><a name="L41"></a><tt class="py-lineno"> 41</tt>  <tt class="py-line">            <tt class="py-name">setting</tt> <tt class="py-op">=</tt> <tt id="link-11" class="py-name"><a title="robotide.context" class="py-name" href="#" onclick="return doclink('link-11', 'context', 'link-5');">context</a></tt><tt class="py-op">.</tt><tt id="link-12" class="py-name"><a title="robotide.context.SETTINGS" class="py-name" href="#" onclick="return doclink('link-12', 'SETTINGS', 'link-9');">SETTINGS</a></tt><tt class="py-op">.</tt><tt id="link-13" class="py-name"><a title="robotide.namespace.cache.ExpiringCache.get" class="py-name" href="#" onclick="return doclink('link-13', 'get', 'link-10');">get</a></tt><tt class="py-op">(</tt><tt class="py-string">'line separator'</tt><tt class="py-op">,</tt> <tt class="py-string">'native'</tt><tt class="py-op">)</tt> </tt>
<a name="L42"></a><tt class="py-lineno"> 42</tt>  <tt class="py-line">            <tt class="py-name">setting</tt> <tt class="py-op">=</tt> <tt class="py-name">setting</tt><tt class="py-op">.</tt><tt class="py-name">lower</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L43"></a><tt class="py-lineno"> 43</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">setting</tt> <tt class="py-keyword">in</tt> <tt class="py-op">(</tt><tt class="py-string">'crlf'</tt><tt class="py-op">,</tt> <tt class="py-string">'windows'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L44"></a><tt class="py-lineno"> 44</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt class="py-string">'\r\n'</tt> </tt>
<a name="L45"></a><tt class="py-lineno"> 45</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">setting</tt> <tt class="py-keyword">in</tt> <tt class="py-op">(</tt><tt class="py-string">'lf'</tt><tt class="py-op">,</tt> <tt class="py-string">'unix'</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L46"></a><tt class="py-lineno"> 46</tt>  <tt class="py-line">                <tt class="py-keyword">return</tt> <tt class="py-string">'\n'</tt> </tt>
<a name="L47"></a><tt class="py-lineno"> 47</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">linesep</tt> </tt>
</div></div><a name="L48"></a><tt class="py-lineno"> 48</tt>  <tt class="py-line"> </tt>
<a name="Serializer"></a><div id="Serializer-def"><a name="L49"></a><tt class="py-lineno"> 49</tt>  <tt class="py-line"> </tt>
<a name="L50"></a><tt class="py-lineno"> 50</tt> <a class="py-toggle" href="#" id="Serializer-toggle" onclick="return toggle('Serializer');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="robotide.writer.serializer.Serializer-class.html">Serializer</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Serializer-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="Serializer-expanded"><a name="L51"></a><tt class="py-lineno"> 51</tt>  <tt class="py-line"> </tt>
<a name="Serializer.__init__"></a><div id="Serializer.__init__-def"><a name="L52"></a><tt class="py-lineno"> 52</tt> <a class="py-toggle" href="#" id="Serializer.__init__-toggle" onclick="return toggle('Serializer.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.writer.serializer.Serializer-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">context</tt><tt class="py-op">=</tt><tt id="link-14" class="py-name" targets="Class robotide.writer.serializer.SerializationContext=robotide.writer.serializer.SerializationContext-class.html"><a title="robotide.writer.serializer.SerializationContext" class="py-name" href="#" onclick="return doclink('link-14', 'SerializationContext', 'link-14');">SerializationContext</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Serializer.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Serializer.__init__-expanded"><a name="L53"></a><tt class="py-lineno"> 53</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_ctx</tt> <tt class="py-op">=</tt> <tt id="link-15" class="py-name"><a title="robotide.context" class="py-name" href="#" onclick="return doclink('link-15', 'context', 'link-5');">context</a></tt> </tt>
</div><a name="L54"></a><tt class="py-lineno"> 54</tt>  <tt class="py-line"> </tt>
<a name="Serializer.serialize"></a><div id="Serializer.serialize-def"><a name="L55"></a><tt class="py-lineno"> 55</tt> <a class="py-toggle" href="#" id="Serializer.serialize-toggle" onclick="return toggle('Serializer.serialize');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.writer.serializer.Serializer-class.html#serialize">serialize</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">datafile</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Serializer.serialize-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Serializer.serialize-expanded"><a name="L56"></a><tt class="py-lineno"> 56</tt>  <tt class="py-line">        <tt id="link-16" class="py-name"><a title="robotide.writer.template" class="py-name" href="#" onclick="return doclink('link-16', 'template', 'link-0');">template</a></tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_create_template</tt><tt class="py-op">(</tt><tt id="link-17" class="py-name" targets="Variable robotide.controller.basecontroller.ControllerWithParent.datafile=robotide.controller.basecontroller.ControllerWithParent-class.html#datafile,Variable robotide.controller.commands.Occurrence.datafile=robotide.controller.commands.Occurrence-class.html#datafile,Variable robotide.controller.stepcontrollers.StepController.datafile=robotide.controller.stepcontrollers.StepController-class.html#datafile,Variable robotide.pluginapi.plugin.Plugin.datafile=robotide.pluginapi.plugin.Plugin-class.html#datafile,Variable robotide.ui.preview.PreviewPlugin.datafile=robotide.ui.preview.PreviewPlugin-class.html#datafile"><a title="robotide.controller.basecontroller.ControllerWithParent.datafile
robotide.controller.commands.Occurrence.datafile
robotide.controller.stepcontrollers.StepController.datafile
robotide.pluginapi.plugin.Plugin.datafile
robotide.ui.preview.PreviewPlugin.datafile" class="py-name" href="#" onclick="return doclink('link-17', 'datafile', 'link-17');">datafile</a></tt><tt class="py-op">)</tt> </tt>
<a name="L57"></a><tt class="py-lineno"> 57</tt>  <tt class="py-line">        <tt class="py-name">output</tt> <tt class="py-op">=</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_get_output</tt><tt class="py-op">(</tt><tt id="link-18" class="py-name"><a title="robotide.controller.basecontroller.ControllerWithParent.datafile
robotide.controller.commands.Occurrence.datafile
robotide.controller.stepcontrollers.StepController.datafile
robotide.pluginapi.plugin.Plugin.datafile
robotide.ui.preview.PreviewPlugin.datafile" class="py-name" href="#" onclick="return doclink('link-18', 'datafile', 'link-17');">datafile</a></tt><tt class="py-op">)</tt> </tt>
<a name="L58"></a><tt class="py-lineno"> 58</tt>  <tt class="py-line">        <tt id="link-19" class="py-name"><a title="robotide.writer
robotide.writer.writer" class="py-name" href="#" onclick="return doclink('link-19', 'writer', 'link-2');">writer</a></tt> <tt class="py-op">=</tt> <tt id="link-20" class="py-name"><a title="robotide.writer.writer.FileWriter" class="py-name" href="#" onclick="return doclink('link-20', 'FileWriter', 'link-3');">FileWriter</a></tt><tt class="py-op">(</tt><tt class="py-name">output</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_get_format</tt><tt class="py-op">(</tt><tt id="link-21" class="py-name"><a title="robotide.controller.basecontroller.ControllerWithParent.datafile
robotide.controller.commands.Occurrence.datafile
robotide.controller.stepcontrollers.StepController.datafile
robotide.pluginapi.plugin.Plugin.datafile
robotide.ui.preview.PreviewPlugin.datafile" class="py-name" href="#" onclick="return doclink('link-21', 'datafile', 'link-17');">datafile</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt id="link-22" class="py-name" targets="Variable robotide.contrib.testrunner.TestSuiteTreeCtrl.TreeNode.name=robotide.contrib.testrunner.TestSuiteTreeCtrl.TreeNode-class.html#name,Variable robotide.contrib.testrunner.runprofiles.CustomScriptProfile.name=robotide.contrib.testrunner.runprofiles.CustomScriptProfile-class.html#name,Variable robotide.contrib.testrunner.runprofiles.PybotProfile.name=robotide.contrib.testrunner.runprofiles.PybotProfile-class.html#name,Variable robotide.controller.settingcontrollers.ImportController.name=robotide.controller.settingcontrollers.ImportController-class.html#name,Variable robotide.controller.settingcontrollers.MetadataController.name=robotide.controller.settingcontrollers.MetadataController-class.html#name,Variable robotide.controller.settingcontrollers.VariableController.name=robotide.controller.settingcontrollers.VariableController-class.html#name,Variable robotide.controller.stepcontrollers.ForLoopStepController.name=robotide.controller.stepcontrollers.ForLoopStepController-class.html#name,Variable robotide.controller.tags.Tag.name=robotide.controller.tags.Tag-class.html#name,Variable robotide.editor.editors.EditorPanel.name=robotide.editor.editors.EditorPanel-class.html#name,Variable robotide.publish.messages.name=robotide.publish.messages-module.html#name"><a title="robotide.contrib.testrunner.TestSuiteTreeCtrl.TreeNode.name
robotide.contrib.testrunner.runprofiles.CustomScriptProfile.name
robotide.contrib.testrunner.runprofiles.PybotProfile.name
robotide.controller.settingcontrollers.ImportController.name
robotide.controller.settingcontrollers.MetadataController.name
robotide.controller.settingcontrollers.VariableController.name
robotide.controller.stepcontrollers.ForLoopStepController.name
robotide.controller.tags.Tag.name
robotide.editor.editors.EditorPanel.name
robotide.publish.messages.name" class="py-name" href="#" onclick="return doclink('link-22', 'name', 'link-22');">name</a></tt><tt class="py-op">=</tt><tt id="link-23" class="py-name"><a title="robotide.controller.basecontroller.ControllerWithParent.datafile
robotide.controller.commands.Occurrence.datafile
robotide.controller.stepcontrollers.StepController.datafile
robotide.pluginapi.plugin.Plugin.datafile
robotide.ui.preview.PreviewPlugin.datafile" class="py-name" href="#" onclick="return doclink('link-23', 'datafile', 'link-17');">datafile</a></tt><tt class="py-op">.</tt><tt id="link-24" class="py-name"><a title="robotide.contrib.testrunner.TestSuiteTreeCtrl.TreeNode.name
robotide.contrib.testrunner.runprofiles.CustomScriptProfile.name
robotide.contrib.testrunner.runprofiles.PybotProfile.name
robotide.controller.settingcontrollers.ImportController.name
robotide.controller.settingcontrollers.MetadataController.name
robotide.controller.settingcontrollers.VariableController.name
robotide.controller.stepcontrollers.ForLoopStepController.name
robotide.controller.tags.Tag.name
robotide.editor.editors.EditorPanel.name
robotide.publish.messages.name" class="py-name" href="#" onclick="return doclink('link-24', 'name', 'link-22');">name</a></tt><tt class="py-op">,</tt> </tt>
<a name="L59"></a><tt class="py-lineno"> 59</tt>  <tt class="py-line">                            <tt id="link-25" class="py-name"><a title="robotide.writer.template" class="py-name" href="#" onclick="return doclink('link-25', 'template', 'link-0');">template</a></tt><tt class="py-op">=</tt><tt id="link-26" class="py-name"><a title="robotide.writer.template" class="py-name" href="#" onclick="return doclink('link-26', 'template', 'link-0');">template</a></tt><tt class="py-op">,</tt>  </tt>
<a name="L60"></a><tt class="py-lineno"> 60</tt>  <tt class="py-line">                            <tt id="link-27" class="py-name"><a title="robotide.writer.serializer.SerializationContext.pipe_separated" class="py-name" href="#" onclick="return doclink('link-27', 'pipe_separated', 'link-6');">pipe_separated</a></tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_ctx</tt><tt class="py-op">.</tt><tt id="link-28" class="py-name"><a title="robotide.writer.serializer.SerializationContext.pipe_separated" class="py-name" href="#" onclick="return doclink('link-28', 'pipe_separated', 'link-6');">pipe_separated</a></tt><tt class="py-op">,</tt> </tt>
<a name="L61"></a><tt class="py-lineno"> 61</tt>  <tt class="py-line">                            <tt id="link-29" class="py-name"><a title="robotide.writer.serializer.SerializationContext.line_separator" class="py-name" href="#" onclick="return doclink('link-29', 'line_separator', 'link-7');">line_separator</a></tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_ctx</tt><tt class="py-op">.</tt><tt id="link-30" class="py-name"><a title="robotide.writer.serializer.SerializationContext.line_separator" class="py-name" href="#" onclick="return doclink('link-30', 'line_separator', 'link-7');">line_separator</a></tt><tt class="py-op">)</tt> </tt>
<a name="L62"></a><tt class="py-lineno"> 62</tt>  <tt class="py-line">        <tt class="py-name">writer_serializer</tt> <tt class="py-op">=</tt> <tt class="py-name">_WriterSerializer</tt><tt class="py-op">(</tt><tt id="link-31" class="py-name"><a title="robotide.writer
robotide.writer.writer" class="py-name" href="#" onclick="return doclink('link-31', 'writer', 'link-2');">writer</a></tt><tt class="py-op">)</tt> </tt>
<a name="L63"></a><tt class="py-lineno"> 63</tt>  <tt class="py-line">        <tt class="py-name">writer_serializer</tt><tt class="py-op">.</tt><tt id="link-32" class="py-name" targets="Method robotide.writer.serializer.Serializer.serialize()=robotide.writer.serializer.Serializer-class.html#serialize"><a title="robotide.writer.serializer.Serializer.serialize" class="py-name" href="#" onclick="return doclink('link-32', 'serialize', 'link-32');">serialize</a></tt><tt class="py-op">(</tt><tt id="link-33" class="py-name"><a title="robotide.controller.basecontroller.ControllerWithParent.datafile
robotide.controller.commands.Occurrence.datafile
robotide.controller.stepcontrollers.StepController.datafile
robotide.pluginapi.plugin.Plugin.datafile
robotide.ui.preview.PreviewPlugin.datafile" class="py-name" href="#" onclick="return doclink('link-33', 'datafile', 'link-17');">datafile</a></tt><tt class="py-op">)</tt> </tt>
<a name="L64"></a><tt class="py-lineno"> 64</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_close_output</tt><tt class="py-op">(</tt><tt id="link-34" class="py-name"><a title="robotide.writer
robotide.writer.writer" class="py-name" href="#" onclick="return doclink('link-34', 'writer', 'link-2');">writer</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L65"></a><tt class="py-lineno"> 65</tt>  <tt class="py-line"> </tt>
<a name="Serializer._create_template"></a><div id="Serializer._create_template-def"><a name="L66"></a><tt class="py-lineno"> 66</tt> <a class="py-toggle" href="#" id="Serializer._create_template-toggle" onclick="return toggle('Serializer._create_template');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.writer.serializer.Serializer-class.html#_create_template">_create_template</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">datafile</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Serializer._create_template-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Serializer._create_template-expanded"><a name="L67"></a><tt class="py-lineno"> 67</tt>  <tt class="py-line">        <tt class="py-keyword">if</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_get_format</tt><tt class="py-op">(</tt><tt id="link-35" class="py-name"><a title="robotide.controller.basecontroller.ControllerWithParent.datafile
robotide.controller.commands.Occurrence.datafile
robotide.controller.stepcontrollers.StepController.datafile
robotide.pluginapi.plugin.Plugin.datafile
robotide.ui.preview.PreviewPlugin.datafile" class="py-name" href="#" onclick="return doclink('link-35', 'datafile', 'link-17');">datafile</a></tt><tt class="py-op">)</tt> <tt class="py-keyword">in</tt> <tt class="py-op">[</tt><tt class="py-string">'html'</tt><tt class="py-op">,</tt> <tt class="py-string">'xhtml'</tt><tt class="py-op">,</tt> <tt class="py-string">'htm'</tt><tt class="py-op">]</tt><tt class="py-op">:</tt> </tt>
<a name="L68"></a><tt class="py-lineno"> 68</tt>  <tt class="py-line">            <tt class="py-keyword">return</tt> <tt id="link-36" class="py-name"><a title="robotide.writer.template.Template" class="py-name" href="#" onclick="return doclink('link-36', 'Template', 'link-1');">Template</a></tt><tt class="py-op">(</tt><tt id="link-37" class="py-name"><a title="robotide.controller.basecontroller.ControllerWithParent.datafile
robotide.controller.commands.Occurrence.datafile
robotide.controller.stepcontrollers.StepController.datafile
robotide.pluginapi.plugin.Plugin.datafile
robotide.ui.preview.PreviewPlugin.datafile" class="py-name" href="#" onclick="return doclink('link-37', 'datafile', 'link-17');">datafile</a></tt><tt class="py-op">.</tt><tt id="link-38" class="py-name" targets="Variable robotide.controller.cellinfo.CellInfo.source=robotide.controller.cellinfo.CellInfo-class.html#source,Variable robotide.controller.commands.Occurrence.source=robotide.controller.commands.Occurrence-class.html#source,Variable robotide.controller.filecontrollers.TestDataDirectoryController.source=robotide.controller.filecontrollers.TestDataDirectoryController-class.html#source,Variable robotide.controller.settingcontrollers.TagsController.source=robotide.controller.settingcontrollers.TagsController-class.html#source"><a title="robotide.controller.cellinfo.CellInfo.source
robotide.controller.commands.Occurrence.source
robotide.controller.filecontrollers.TestDataDirectoryController.source
robotide.controller.settingcontrollers.TagsController.source" class="py-name" href="#" onclick="return doclink('link-38', 'source', 'link-38');">source</a></tt><tt class="py-op">,</tt> <tt id="link-39" class="py-name"><a title="robotide.controller.basecontroller.ControllerWithParent.datafile
robotide.controller.commands.Occurrence.datafile
robotide.controller.stepcontrollers.StepController.datafile
robotide.pluginapi.plugin.Plugin.datafile
robotide.ui.preview.PreviewPlugin.datafile" class="py-name" href="#" onclick="return doclink('link-39', 'datafile', 'link-17');">datafile</a></tt><tt class="py-op">.</tt><tt id="link-40" class="py-name"><a title="robotide.contrib.testrunner.TestSuiteTreeCtrl.TreeNode.name
robotide.contrib.testrunner.runprofiles.CustomScriptProfile.name
robotide.contrib.testrunner.runprofiles.PybotProfile.name
robotide.controller.settingcontrollers.ImportController.name
robotide.controller.settingcontrollers.MetadataController.name
robotide.controller.settingcontrollers.VariableController.name
robotide.controller.stepcontrollers.ForLoopStepController.name
robotide.controller.tags.Tag.name
robotide.editor.editors.EditorPanel.name
robotide.publish.messages.name" class="py-name" href="#" onclick="return doclink('link-40', 'name', 'link-22');">name</a></tt><tt class="py-op">)</tt> </tt>
<a name="L69"></a><tt class="py-lineno"> 69</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">None</tt> </tt>
</div><a name="L70"></a><tt class="py-lineno"> 70</tt>  <tt class="py-line"> </tt>
<a name="Serializer._get_output"></a><div id="Serializer._get_output-def"><a name="L71"></a><tt class="py-lineno"> 71</tt> <a class="py-toggle" href="#" id="Serializer._get_output-toggle" onclick="return toggle('Serializer._get_output');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.writer.serializer.Serializer-class.html#_get_output">_get_output</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">datafile</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Serializer._get_output-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Serializer._get_output-expanded"><a name="L72"></a><tt class="py-lineno"> 72</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_ctx</tt><tt class="py-op">.</tt><tt class="py-name">output</tt> <tt class="py-keyword">or</tt> <tt class="py-name">open</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_get_source</tt><tt class="py-op">(</tt><tt id="link-41" class="py-name"><a title="robotide.controller.basecontroller.ControllerWithParent.datafile
robotide.controller.commands.Occurrence.datafile
robotide.controller.stepcontrollers.StepController.datafile
robotide.pluginapi.plugin.Plugin.datafile
robotide.ui.preview.PreviewPlugin.datafile" class="py-name" href="#" onclick="return doclink('link-41', 'datafile', 'link-17');">datafile</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-string">'wb'</tt><tt class="py-op">)</tt> </tt>
</div><a name="L73"></a><tt class="py-lineno"> 73</tt>  <tt class="py-line"> </tt>
<a name="Serializer._get_source"></a><div id="Serializer._get_source-def"><a name="L74"></a><tt class="py-lineno"> 74</tt> <a class="py-toggle" href="#" id="Serializer._get_source-toggle" onclick="return toggle('Serializer._get_source');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.writer.serializer.Serializer-class.html#_get_source">_get_source</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">datafile</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Serializer._get_source-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Serializer._get_source-expanded"><a name="L75"></a><tt class="py-lineno"> 75</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">getattr</tt><tt class="py-op">(</tt><tt id="link-42" class="py-name"><a title="robotide.controller.basecontroller.ControllerWithParent.datafile
robotide.controller.commands.Occurrence.datafile
robotide.controller.stepcontrollers.StepController.datafile
robotide.pluginapi.plugin.Plugin.datafile
robotide.ui.preview.PreviewPlugin.datafile" class="py-name" href="#" onclick="return doclink('link-42', 'datafile', 'link-17');">datafile</a></tt><tt class="py-op">,</tt> <tt class="py-string">'initfile'</tt><tt class="py-op">,</tt> <tt id="link-43" class="py-name"><a title="robotide.controller.basecontroller.ControllerWithParent.datafile
robotide.controller.commands.Occurrence.datafile
robotide.controller.stepcontrollers.StepController.datafile
robotide.pluginapi.plugin.Plugin.datafile
robotide.ui.preview.PreviewPlugin.datafile" class="py-name" href="#" onclick="return doclink('link-43', 'datafile', 'link-17');">datafile</a></tt><tt class="py-op">.</tt><tt id="link-44" class="py-name"><a title="robotide.controller.cellinfo.CellInfo.source
robotide.controller.commands.Occurrence.source
robotide.controller.filecontrollers.TestDataDirectoryController.source
robotide.controller.settingcontrollers.TagsController.source" class="py-name" href="#" onclick="return doclink('link-44', 'source', 'link-38');">source</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L76"></a><tt class="py-lineno"> 76</tt>  <tt class="py-line"> </tt>
<a name="Serializer._get_format"></a><div id="Serializer._get_format-def"><a name="L77"></a><tt class="py-lineno"> 77</tt> <a class="py-toggle" href="#" id="Serializer._get_format-toggle" onclick="return toggle('Serializer._get_format');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.writer.serializer.Serializer-class.html#_get_format">_get_format</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">datafile</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Serializer._get_format-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Serializer._get_format-expanded"><a name="L78"></a><tt class="py-lineno"> 78</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_ctx</tt><tt class="py-op">.</tt><tt class="py-name">format</tt> <tt class="py-keyword">or</tt> <tt class="py-name">os</tt><tt class="py-op">.</tt><tt class="py-name">path</tt><tt class="py-op">.</tt><tt class="py-name">splitext</tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_get_source</tt><tt class="py-op">(</tt><tt id="link-45" class="py-name"><a title="robotide.controller.basecontroller.ControllerWithParent.datafile
robotide.controller.commands.Occurrence.datafile
robotide.controller.stepcontrollers.StepController.datafile
robotide.pluginapi.plugin.Plugin.datafile
robotide.ui.preview.PreviewPlugin.datafile" class="py-name" href="#" onclick="return doclink('link-45', 'datafile', 'link-17');">datafile</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">:</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">lower</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L79"></a><tt class="py-lineno"> 79</tt>  <tt class="py-line"> </tt>
<a name="Serializer._close_output"></a><div id="Serializer._close_output-def"><a name="L80"></a><tt class="py-lineno"> 80</tt> <a class="py-toggle" href="#" id="Serializer._close_output-toggle" onclick="return toggle('Serializer._close_output');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.writer.serializer.Serializer-class.html#_close_output">_close_output</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">writer</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="Serializer._close_output-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="Serializer._close_output-expanded"><a name="L81"></a><tt class="py-lineno"> 81</tt>  <tt class="py-line">        <tt id="link-46" class="py-name"><a title="robotide.writer
robotide.writer.writer" class="py-name" href="#" onclick="return doclink('link-46', 'writer', 'link-2');">writer</a></tt><tt class="py-op">.</tt><tt id="link-47" class="py-name" targets="Method robotide.contrib.testrunner.SocketListener.SocketListener.close()=robotide.contrib.testrunner.SocketListener.SocketListener-class.html#close,Method robotide.editor.editors.ResourceFileEditor.close()=robotide.editor.editors.ResourceFileEditor-class.html#close,Method robotide.editor.editors.SettingEditor.close()=robotide.editor.editors.SettingEditor-class.html#close,Method robotide.editor.editors.Settings.close()=robotide.editor.editors.Settings-class.html#close,Method robotide.editor.editors.TagsEditor.close()=robotide.editor.editors.TagsEditor-class.html#close,Method robotide.editor.editors.TestCaseEditor.close()=robotide.editor.editors.TestCaseEditor-class.html#close,Method robotide.editor.editors.VariablesListEditor.close()=robotide.editor.editors.VariablesListEditor-class.html#close,Method robotide.editor.editors.WelcomePage.close()=robotide.editor.editors.WelcomePage-class.html#close,Method robotide.editor.gridcolorizer.Colorizer.close()=robotide.editor.gridcolorizer.Colorizer-class.html#close,Method robotide.editor.kweditor.KeywordEditor.close()=robotide.editor.kweditor.KeywordEditor-class.html#close,Method robotide.editor.tags.TagBox.close()=robotide.editor.tags.TagBox-class.html#close,Method robotide.editor.tags.TagsDisplay.close()=robotide.editor.tags.TagsDisplay-class.html#close,Method robotide.utils.components.RideHtmlWindow.close()=robotide.utils.components.RideHtmlWindow-class.html#close,Method robotide.writer.writer.HtmlFileWriter.close()=robotide.writer.writer.HtmlFileWriter-class.html#close"><a title="robotide.contrib.testrunner.SocketListener.SocketListener.close
robotide.editor.editors.ResourceFileEditor.close
robotide.editor.editors.SettingEditor.close
robotide.editor.editors.Settings.close
robotide.editor.editors.TagsEditor.close
robotide.editor.editors.TestCaseEditor.close
robotide.editor.editors.VariablesListEditor.close
robotide.editor.editors.WelcomePage.close
robotide.editor.gridcolorizer.Colorizer.close
robotide.editor.kweditor.KeywordEditor.close
robotide.editor.tags.TagBox.close
robotide.editor.tags.TagsDisplay.close
robotide.utils.components.RideHtmlWindow.close
robotide.writer.writer.HtmlFileWriter.close" class="py-name" href="#" onclick="return doclink('link-47', 'close', 'link-47');">close</a></tt><tt class="py-op">(</tt><tt class="py-name">close_output</tt><tt class="py-op">=</tt><tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_ctx</tt><tt class="py-op">.</tt><tt class="py-name">output</tt> <tt class="py-keyword">is</tt> <tt class="py-name">None</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L82"></a><tt class="py-lineno"> 82</tt>  <tt class="py-line"> </tt>
<a name="_WriterSerializer"></a><div id="_WriterSerializer-def"><a name="L83"></a><tt class="py-lineno"> 83</tt>  <tt class="py-line"> </tt>
<a name="L84"></a><tt class="py-lineno"> 84</tt> <a class="py-toggle" href="#" id="_WriterSerializer-toggle" onclick="return toggle('_WriterSerializer');">-</a><tt class="py-line"><tt class="py-keyword">class</tt> <a class="py-def-name" href="robotide.writer.serializer._WriterSerializer-class.html">_WriterSerializer</a><tt class="py-op">(</tt><tt class="py-base-class">object</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="_WriterSerializer-collapsed" style="display:none;" pad="+++" indent="++++"></div><div id="_WriterSerializer-expanded"><a name="L85"></a><tt class="py-lineno"> 85</tt>  <tt class="py-line"> </tt>
<a name="_WriterSerializer.__init__"></a><div id="_WriterSerializer.__init__-def"><a name="L86"></a><tt class="py-lineno"> 86</tt> <a class="py-toggle" href="#" id="_WriterSerializer.__init__-toggle" onclick="return toggle('_WriterSerializer.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.writer.serializer._WriterSerializer-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">writer</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="_WriterSerializer.__init__-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="_WriterSerializer.__init__-expanded"><a name="L87"></a><tt class="py-lineno"> 87</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_writer</tt> <tt class="py-op">=</tt> <tt id="link-48" class="py-name"><a title="robotide.writer
robotide.writer.writer" class="py-name" href="#" onclick="return doclink('link-48', 'writer', 'link-2');">writer</a></tt> </tt>
<a name="L88"></a><tt class="py-lineno"> 88</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">table_handlers</tt> <tt class="py-op">=</tt> <tt class="py-op">{</tt><tt class="py-string">'setting'</tt><tt class="py-op">:</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_setting_table_handler</tt><tt class="py-op">,</tt> </tt>
<a name="L89"></a><tt class="py-lineno"> 89</tt>  <tt class="py-line">                               <tt class="py-string">'variable'</tt><tt class="py-op">:</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_variable_table_handler</tt><tt class="py-op">,</tt> </tt>
<a name="L90"></a><tt class="py-lineno"> 90</tt>  <tt class="py-line">                               <tt class="py-string">'keyword'</tt><tt class="py-op">:</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_keyword_table_handler</tt><tt class="py-op">,</tt> </tt>
<a name="L91"></a><tt class="py-lineno"> 91</tt>  <tt class="py-line">                               <tt class="py-string">'testcase'</tt><tt class="py-op">:</tt> <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_testcase_table_handler</tt><tt class="py-op">}</tt> </tt>
</div><a name="L92"></a><tt class="py-lineno"> 92</tt>  <tt class="py-line"> </tt>
<a name="_WriterSerializer.serialize"></a><div id="_WriterSerializer.serialize-def"><a name="L93"></a><tt class="py-lineno"> 93</tt> <a class="py-toggle" href="#" id="_WriterSerializer.serialize-toggle" onclick="return toggle('_WriterSerializer.serialize');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.writer.serializer._WriterSerializer-class.html#serialize">serialize</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">datafile</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="_WriterSerializer.serialize-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="_WriterSerializer.serialize-expanded"><a name="L94"></a><tt class="py-lineno"> 94</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt class="py-name">table</tt> <tt class="py-keyword">in</tt> <tt id="link-49" class="py-name"><a title="robotide.controller.basecontroller.ControllerWithParent.datafile
robotide.controller.commands.Occurrence.datafile
robotide.controller.stepcontrollers.StepController.datafile
robotide.pluginapi.plugin.Plugin.datafile
robotide.ui.preview.PreviewPlugin.datafile" class="py-name" href="#" onclick="return doclink('link-49', 'datafile', 'link-17');">datafile</a></tt><tt class="py-op">:</tt> </tt>
<a name="L95"></a><tt class="py-lineno"> 95</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt class="py-name">table</tt><tt class="py-op">:</tt> </tt>
<a name="L96"></a><tt class="py-lineno"> 96</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">table_handlers</tt><tt class="py-op">[</tt><tt class="py-name">table</tt><tt class="py-op">.</tt><tt class="py-name">type</tt><tt class="py-op">]</tt><tt class="py-op">(</tt><tt class="py-name">table</tt><tt class="py-op">)</tt> </tt>
</div><a name="L97"></a><tt class="py-lineno"> 97</tt>  <tt class="py-line"> </tt>
<a name="_WriterSerializer._setting_table_handler"></a><div id="_WriterSerializer._setting_table_handler-def"><a name="L98"></a><tt class="py-lineno"> 98</tt> <a class="py-toggle" href="#" id="_WriterSerializer._setting_table_handler-toggle" onclick="return toggle('_WriterSerializer._setting_table_handler');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.writer.serializer._WriterSerializer-class.html#_setting_table_handler">_setting_table_handler</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">table</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="_WriterSerializer._setting_table_handler-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="_WriterSerializer._setting_table_handler-expanded"><a name="L99"></a><tt class="py-lineno"> 99</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_writer</tt><tt class="py-op">.</tt><tt class="py-name">start_settings</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L100"></a><tt class="py-lineno">100</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_write_elements</tt><tt class="py-op">(</tt><tt class="py-name">table</tt><tt class="py-op">)</tt> </tt>
<a name="L101"></a><tt class="py-lineno">101</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_writer</tt><tt class="py-op">.</tt><tt id="link-50" class="py-name" targets="Method robotide.writer.writer.HtmlFileWriter.end_settings()=robotide.writer.writer.HtmlFileWriter-class.html#end_settings"><a title="robotide.writer.writer.HtmlFileWriter.end_settings" class="py-name" href="#" onclick="return doclink('link-50', 'end_settings', 'link-50');">end_settings</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L102"></a><tt class="py-lineno">102</tt>  <tt class="py-line"> </tt>
<a name="_WriterSerializer._write_elements"></a><div id="_WriterSerializer._write_elements-def"><a name="L103"></a><tt class="py-lineno">103</tt> <a class="py-toggle" href="#" id="_WriterSerializer._write_elements-toggle" onclick="return toggle('_WriterSerializer._write_elements');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.writer.serializer._WriterSerializer-class.html#_write_elements">_write_elements</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">elements</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="_WriterSerializer._write_elements-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="_WriterSerializer._write_elements-expanded"><a name="L104"></a><tt class="py-lineno">104</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt id="link-51" class="py-name" targets="Method robotide.writer.writer.HtmlFileWriter.element()=robotide.writer.writer.HtmlFileWriter-class.html#element,Method robotide.writer.writer.SpaceSeparatedTxtWriter.element()=robotide.writer.writer.SpaceSeparatedTxtWriter-class.html#element"><a title="robotide.writer.writer.HtmlFileWriter.element
robotide.writer.writer.SpaceSeparatedTxtWriter.element" class="py-name" href="#" onclick="return doclink('link-51', 'element', 'link-51');">element</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">elements</tt><tt class="py-op">:</tt> </tt>
<a name="L105"></a><tt class="py-lineno">105</tt>  <tt class="py-line">            <tt class="py-keyword">if</tt> <tt id="link-52" class="py-name"><a title="robotide.writer.writer.HtmlFileWriter.element
robotide.writer.writer.SpaceSeparatedTxtWriter.element" class="py-name" href="#" onclick="return doclink('link-52', 'element', 'link-51');">element</a></tt><tt class="py-op">.</tt><tt class="py-name">is_for_loop</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L106"></a><tt class="py-lineno">106</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_handle_for_loop</tt><tt class="py-op">(</tt><tt id="link-53" class="py-name"><a title="robotide.writer.writer.HtmlFileWriter.element
robotide.writer.writer.SpaceSeparatedTxtWriter.element" class="py-name" href="#" onclick="return doclink('link-53', 'element', 'link-51');">element</a></tt><tt class="py-op">)</tt> </tt>
<a name="L107"></a><tt class="py-lineno">107</tt>  <tt class="py-line">            <tt class="py-keyword">elif</tt> <tt id="link-54" class="py-name"><a title="robotide.writer.writer.HtmlFileWriter.element
robotide.writer.writer.SpaceSeparatedTxtWriter.element" class="py-name" href="#" onclick="return doclink('link-54', 'element', 'link-51');">element</a></tt><tt class="py-op">.</tt><tt id="link-55" class="py-name" targets="Variable robotide.controller.settingcontrollers.TagsController.is_set=robotide.controller.settingcontrollers.TagsController-class.html#is_set"><a title="robotide.controller.settingcontrollers.TagsController.is_set" class="py-name" href="#" onclick="return doclink('link-55', 'is_set', 'link-55');">is_set</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
<a name="L108"></a><tt class="py-lineno">108</tt>  <tt class="py-line">                <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_writer</tt><tt class="py-op">.</tt><tt id="link-56" class="py-name"><a title="robotide.writer.writer.HtmlFileWriter.element
robotide.writer.writer.SpaceSeparatedTxtWriter.element" class="py-name" href="#" onclick="return doclink('link-56', 'element', 'link-51');">element</a></tt><tt class="py-op">(</tt><tt id="link-57" class="py-name"><a title="robotide.writer.writer.HtmlFileWriter.element
robotide.writer.writer.SpaceSeparatedTxtWriter.element" class="py-name" href="#" onclick="return doclink('link-57', 'element', 'link-51');">element</a></tt><tt class="py-op">)</tt> </tt>
</div><a name="L109"></a><tt class="py-lineno">109</tt>  <tt class="py-line"> </tt>
<a name="_WriterSerializer._handle_for_loop"></a><div id="_WriterSerializer._handle_for_loop-def"><a name="L110"></a><tt class="py-lineno">110</tt> <a class="py-toggle" href="#" id="_WriterSerializer._handle_for_loop-toggle" onclick="return toggle('_WriterSerializer._handle_for_loop');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.writer.serializer._WriterSerializer-class.html#_handle_for_loop">_handle_for_loop</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">loop</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="_WriterSerializer._handle_for_loop-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="_WriterSerializer._handle_for_loop-expanded"><a name="L111"></a><tt class="py-lineno">111</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_writer</tt><tt class="py-op">.</tt><tt class="py-name">start_for_loop</tt><tt class="py-op">(</tt><tt class="py-name">loop</tt><tt class="py-op">)</tt> </tt>
<a name="L112"></a><tt class="py-lineno">112</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_write_elements</tt><tt class="py-op">(</tt><tt class="py-name">loop</tt><tt class="py-op">)</tt> </tt>
<a name="L113"></a><tt class="py-lineno">113</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_writer</tt><tt class="py-op">.</tt><tt class="py-name">end_for_loop</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L114"></a><tt class="py-lineno">114</tt>  <tt class="py-line"> </tt>
<a name="_WriterSerializer._variable_table_handler"></a><div id="_WriterSerializer._variable_table_handler-def"><a name="L115"></a><tt class="py-lineno">115</tt> <a class="py-toggle" href="#" id="_WriterSerializer._variable_table_handler-toggle" onclick="return toggle('_WriterSerializer._variable_table_handler');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.writer.serializer._WriterSerializer-class.html#_variable_table_handler">_variable_table_handler</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">table</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="_WriterSerializer._variable_table_handler-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="_WriterSerializer._variable_table_handler-expanded"><a name="L116"></a><tt class="py-lineno">116</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_writer</tt><tt class="py-op">.</tt><tt class="py-name">start_variables</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L117"></a><tt class="py-lineno">117</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_write_elements</tt><tt class="py-op">(</tt><tt class="py-name">table</tt><tt class="py-op">)</tt> </tt>
<a name="L118"></a><tt class="py-lineno">118</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_writer</tt><tt class="py-op">.</tt><tt id="link-58" class="py-name" targets="Method robotide.writer.writer.HtmlFileWriter.end_variables()=robotide.writer.writer.HtmlFileWriter-class.html#end_variables"><a title="robotide.writer.writer.HtmlFileWriter.end_variables" class="py-name" href="#" onclick="return doclink('link-58', 'end_variables', 'link-58');">end_variables</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L119"></a><tt class="py-lineno">119</tt>  <tt class="py-line"> </tt>
<a name="_WriterSerializer._keyword_table_handler"></a><div id="_WriterSerializer._keyword_table_handler-def"><a name="L120"></a><tt class="py-lineno">120</tt> <a class="py-toggle" href="#" id="_WriterSerializer._keyword_table_handler-toggle" onclick="return toggle('_WriterSerializer._keyword_table_handler');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.writer.serializer._WriterSerializer-class.html#_keyword_table_handler">_keyword_table_handler</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">table</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="_WriterSerializer._keyword_table_handler-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="_WriterSerializer._keyword_table_handler-expanded"><a name="L121"></a><tt class="py-lineno">121</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_writer</tt><tt class="py-op">.</tt><tt class="py-name">start_keywords</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L122"></a><tt class="py-lineno">122</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt class="py-name">kw</tt> <tt class="py-keyword">in</tt> <tt class="py-name">table</tt><tt class="py-op">:</tt> </tt>
<a name="L123"></a><tt class="py-lineno">123</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_handle_keyword</tt><tt class="py-op">(</tt><tt class="py-name">kw</tt><tt class="py-op">)</tt> </tt>
<a name="L124"></a><tt class="py-lineno">124</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_writer</tt><tt class="py-op">.</tt><tt id="link-59" class="py-name" targets="Method robotide.writer.writer.HtmlFileWriter.end_keywords()=robotide.writer.writer.HtmlFileWriter-class.html#end_keywords"><a title="robotide.writer.writer.HtmlFileWriter.end_keywords" class="py-name" href="#" onclick="return doclink('link-59', 'end_keywords', 'link-59');">end_keywords</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L125"></a><tt class="py-lineno">125</tt>  <tt class="py-line"> </tt>
<a name="_WriterSerializer._handle_keyword"></a><div id="_WriterSerializer._handle_keyword-def"><a name="L126"></a><tt class="py-lineno">126</tt> <a class="py-toggle" href="#" id="_WriterSerializer._handle_keyword-toggle" onclick="return toggle('_WriterSerializer._handle_keyword');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.writer.serializer._WriterSerializer-class.html#_handle_keyword">_handle_keyword</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">kw</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="_WriterSerializer._handle_keyword-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="_WriterSerializer._handle_keyword-expanded"><a name="L127"></a><tt class="py-lineno">127</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_writer</tt><tt class="py-op">.</tt><tt id="link-60" class="py-name" targets="Method robotide.contrib.testrunner.SocketListener.SocketListener.start_keyword()=robotide.contrib.testrunner.SocketListener.SocketListener-class.html#start_keyword,Method robotide.writer.writer.SpaceSeparatedTxtWriter.start_keyword()=robotide.writer.writer.SpaceSeparatedTxtWriter-class.html#start_keyword"><a title="robotide.contrib.testrunner.SocketListener.SocketListener.start_keyword
robotide.writer.writer.SpaceSeparatedTxtWriter.start_keyword" class="py-name" href="#" onclick="return doclink('link-60', 'start_keyword', 'link-60');">start_keyword</a></tt><tt class="py-op">(</tt><tt class="py-name">kw</tt><tt class="py-op">)</tt> </tt>
<a name="L128"></a><tt class="py-lineno">128</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_write_elements</tt><tt class="py-op">(</tt><tt class="py-name">kw</tt><tt class="py-op">)</tt> </tt>
<a name="L129"></a><tt class="py-lineno">129</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_writer</tt><tt class="py-op">.</tt><tt id="link-61" class="py-name" targets="Method robotide.contrib.testrunner.SocketListener.SocketListener.end_keyword()=robotide.contrib.testrunner.SocketListener.SocketListener-class.html#end_keyword"><a title="robotide.contrib.testrunner.SocketListener.SocketListener.end_keyword" class="py-name" href="#" onclick="return doclink('link-61', 'end_keyword', 'link-61');">end_keyword</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L130"></a><tt class="py-lineno">130</tt>  <tt class="py-line"> </tt>
<a name="_WriterSerializer._testcase_table_handler"></a><div id="_WriterSerializer._testcase_table_handler-def"><a name="L131"></a><tt class="py-lineno">131</tt> <a class="py-toggle" href="#" id="_WriterSerializer._testcase_table_handler-toggle" onclick="return toggle('_WriterSerializer._testcase_table_handler');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.writer.serializer._WriterSerializer-class.html#_testcase_table_handler">_testcase_table_handler</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">table</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="_WriterSerializer._testcase_table_handler-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="_WriterSerializer._testcase_table_handler-expanded"><a name="L132"></a><tt class="py-lineno">132</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_writer</tt><tt class="py-op">.</tt><tt class="py-name">start_testcases</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
<a name="L133"></a><tt class="py-lineno">133</tt>  <tt class="py-line">        <tt class="py-keyword">for</tt> <tt class="py-name">tc</tt> <tt class="py-keyword">in</tt> <tt class="py-name">table</tt><tt class="py-op">:</tt> </tt>
<a name="L134"></a><tt class="py-lineno">134</tt>  <tt class="py-line">            <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_handle_testcase</tt><tt class="py-op">(</tt><tt class="py-name">tc</tt><tt class="py-op">)</tt> </tt>
<a name="L135"></a><tt class="py-lineno">135</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_writer</tt><tt class="py-op">.</tt><tt id="link-62" class="py-name" targets="Method robotide.writer.writer.HtmlFileWriter.end_testcases()=robotide.writer.writer.HtmlFileWriter-class.html#end_testcases"><a title="robotide.writer.writer.HtmlFileWriter.end_testcases" class="py-name" href="#" onclick="return doclink('link-62', 'end_testcases', 'link-62');">end_testcases</a></tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div><a name="L136"></a><tt class="py-lineno">136</tt>  <tt class="py-line"> </tt>
<a name="_WriterSerializer._handle_testcase"></a><div id="_WriterSerializer._handle_testcase-def"><a name="L137"></a><tt class="py-lineno">137</tt> <a class="py-toggle" href="#" id="_WriterSerializer._handle_testcase-toggle" onclick="return toggle('_WriterSerializer._handle_testcase');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="robotide.writer.serializer._WriterSerializer-class.html#_handle_testcase">_handle_testcase</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">tc</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="_WriterSerializer._handle_testcase-collapsed" style="display:none;" pad="+++" indent="++++++++"></div><div id="_WriterSerializer._handle_testcase-expanded"><a name="L138"></a><tt class="py-lineno">138</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_writer</tt><tt class="py-op">.</tt><tt id="link-63" class="py-name" targets="Method robotide.writer.writer.SpaceSeparatedTxtWriter.start_testcase()=robotide.writer.writer.SpaceSeparatedTxtWriter-class.html#start_testcase"><a title="robotide.writer.writer.SpaceSeparatedTxtWriter.start_testcase" class="py-name" href="#" onclick="return doclink('link-63', 'start_testcase', 'link-63');">start_testcase</a></tt><tt class="py-op">(</tt><tt class="py-name">tc</tt><tt class="py-op">)</tt> </tt>
<a name="L139"></a><tt class="py-lineno">139</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_write_elements</tt><tt class="py-op">(</tt><tt class="py-name">tc</tt><tt class="py-op">)</tt> </tt>
<a name="L140"></a><tt class="py-lineno">140</tt>  <tt class="py-line">        <tt class="py-name">self</tt><tt class="py-op">.</tt><tt class="py-name">_writer</tt><tt class="py-op">.</tt><tt class="py-name">end_testcase</tt><tt class="py-op">(</tt><tt class="py-op">)</tt> </tt>
</div></div><a name="L141"></a><tt class="py-lineno">141</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="robotide-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/robotframework-ride">RIDE</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Wed Apr 13 15:09:54 2011
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
